"""
求1!+3!+5!+...+n!
"""
n = eval(input())
sum1 = 0
for i in range(1, n+1, 2):
    p = 1
    for j in range(1, i + 1):
        p *= j
    sum1 += p
print(f'n={n},s={sum1}')